import {ModalFormProps} from "@ant-design/pro-form/lib/layouts/ModalForm";
import CModalForm from "@/components/CModalForm";
import {CModalFormProps} from "@/components/CModalForm/type";
import fields from "@/pages/news/category/list/components/AddSysNewsCategory/config/fields";


export default (props: {} & ModalFormProps) => {
  // @ts-ignore
  const modalFormProps: CModalFormProps<any> = {
    ...props,
    groupList: fields
  }
  return (
    <CModalForm{...modalFormProps}/>
  )
}
